package com.medisign.sign.log.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class P1SignReqVo implements Serializable {

    private String transactionId;       //事务ID

    private String userId; //用户编号

    private String encKEY; //安全密钥

    private String authKEY; //授权密钥

    private String data; //待签名数据原文（JSON/string

    private String fileName;

    private String isBackSignatureImg;  //是否返回图片

    private String signDate;            //签署时间

    private String isBackSignCert = "0";

    private String isHash = "0";     //是否对原文摘要

    private String timestamp = "1";     //是否加时间戳

    private String isBackTimestamp = "0";     //是否返回时间戳结果

    private String signMethod;

    private String createUserId; //否 发起人编号

    /**
     * 来源机构（机构名称）
     * 该机构名称并非 tb_org 所指的机构，由接口调用方传入，用作后台查询
     */
    private String sourceOrg;

}
